package com.lhn.spring5.aopxml;

import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * 〈一句话功能简述>
 * 〈测试列〉
 *
 * @Author 17505
 * @Create 2022/1/4
 * @Since 1.0.0
 */
public class AopXmlTest {

    @Test
    public void test() {
        ApplicationContext context = new ClassPathXmlApplicationContext("bean2.xml");
        Person person = context.getBean("person", Person.class);
        person.add();
    }

}